import request from '@/utils/request'

// 查询个人记录列表
export function listAbuwxPersonageRecord(query) {
  return request({
    url: '/abuwx/AbuwxPersonageRecord/list',
    method: 'get',
    params: query
  })
}

// 查询个人记录详细
export function getAbuwxPersonageRecord(id) {
  return request({
    url: '/abuwx/AbuwxPersonageRecord/' + id,
    method: 'get'
  })
}

// 新增个人记录
export function addAbuwxPersonageRecord(data) {
  return request({
    url: '/abuwx/AbuwxPersonageRecord',
    method: 'post',
    data: data
  })
}

// 修改个人记录
export function updateAbuwxPersonageRecord(data) {
  return request({
    url: '/abuwx/AbuwxPersonageRecord',
    method: 'put',
    data: data
  })
}

// 删除个人记录
export function delAbuwxPersonageRecord(id) {
  return request({
    url: '/abuwx/AbuwxPersonageRecord/' + id,
    method: 'delete'
  })
}
